﻿using EasyAbp.Abp.Aliyun.Common.Configurations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp;
using Volo.Abp.Autofac;
using Volo.Abp.Modularity;

namespace EasyAbp.Abp.PhoneNumberLogin.Provider.Aliyun.Tests
{
    [DependsOn(
        typeof(AbpAutofacModule),
        typeof(AbpTestBaseModule),
        typeof(AbpPhoneNumberLoginProviderAliyunModule)
    )]
    public class AliyunTestBaseModule : AbpModule
    {
        public override void ConfigureServices(ServiceConfigurationContext context)
        {
            Configure<AbpAliyunOptions>(op =>
            {
                op.AccessKeyId = AbpAliyunTestsConsts.AccessKeyId;
                op.AccessKeySecret = AbpAliyunTestsConsts.AccessKeySecret;
            });
        }

    }
}